//
//  RBBaseViewController.m
//  BaoRongApp
//
//  Created by Riber on 2017/3/15.
//  Copyright © 2017年 dai yi. All rights reserved.
//

#import "RBBaseViewController.h"

@interface RBBaseViewController ()

@end

@implementation RBBaseViewController

- (void)dealloc {
    [[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationWillChangeStatusBarFrameNotification object:nil];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
 
    self.view.backgroundColor = [UIColor whiteColor];
    self.automaticallyAdjustsScrollViewInsets = NO;
    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(statusBarFrameDidChange:) name:UIApplicationWillChangeStatusBarFrameNotification object:nil];
    
    [self superCreateUI];
    [self loadSuperData];
}

- (void)superCreateUI {
    
}

- (void)loadSuperData {
    
}

- (void)statusBarFrameDidChange:(NSNotification*)notification {
    
}

@end
